Skip to content

arm64:dts:aspeed: Add DIMM devices for SP7#263

Merged
modolaty merged 1 commit intointeg_sp8from
v081a_pmic_sp7
May 8, 2026
Merged

arm64:dts:aspeed: Add DIMM devices for SP7#263
modolaty merged 1 commit intointeg_sp8from
v081a_pmic_sp7

Conversation

@modolaty
Copy link
Copy Markdown
Collaborator

@modolaty modolaty commented May 6, 2026

Add DIMM SPD and PMIC devices to SP7 platforms for i3c2 (P0) and i3c3 (P1).
The i3c buses will run in i2c mode from BMC side.

Tested:

  • verified in Congo and Morocco

@amd-knieman
Copy link
Copy Markdown
Collaborator

amd-knieman commented May 6, 2026

I noticed that most of this is duplicated between the platforms. Should we have a dtsi for the common changes and just include the dtsi when applicable for the specific platform dtses? (not really applicable for this review, but just a thought)

Copy link
Copy Markdown
Collaborator

@mahkurap mahkurap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo in the commit message. instead of sp8, it is spelled as sp&.

#define JESD300_PMIC_I2C_MODE(bus, index, addr) \
pmic_ ## bus ## _ ## index: pmic@addr{ \
reg = <0x ## addr 0x0 0x40>; \
compatible = "eeprom"; \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you try with "none"?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a copy from Turin changes from Aspeed that has been working.
It also worked in SP7.
we can try it later on, but not for today's release

@modolaty
Copy link
Copy Markdown
Collaborator Author

modolaty commented May 7, 2026

There is a typo in the commit message. instead of sp8, it is spelled as sp&.
Thanks, done

Add DIMM SPD and PMIC devices to SP7 platforms for
i3c2 (P0) and i3c3 (P1).
The i3c buses will run in i2c mode from BMC side.

Tested:
- verified in Congo and Morocco

Signed-off-by: modolaty <mohsen.dolaty@amd.com>
@modolaty
Copy link
Copy Markdown
Collaborator Author

modolaty commented May 7, 2026

I noticed that most of this is duplicated between the platforms. Should we have a dtsi for the common changes and just include the dtsi when applicable for the specific platform dtses? (not really applicable for this review, but just a thought)

good point. But since we are putting these changes in a public hub and it is our choice to use the system in i2c mode, it makes more sense to do it in dts rather than dtsi

@modolaty modolaty closed this May 7, 2026
@modolaty modolaty reopened this May 7, 2026
@modolaty
Copy link
Copy Markdown
Collaborator Author

modolaty commented May 7, 2026

I noticed that most of this is duplicated between the platforms. Should we have a dtsi for the common changes and just include the dtsi when applicable for the specific platform dtses? (not really applicable for this review, but just a thought)

Nice idea. But because linux-aspeed is a public code and this is a our design to access SP7 in i2c mode, it makes more sense to do it in dts rather changing dtsi

@modolaty modolaty requested a review from mahkurap May 8, 2026 13:26
@modolaty modolaty merged commit 624a335 into integ_sp8 May 8, 2026
@modolaty modolaty deleted the v081a_pmic_sp7 branch May 8, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants